﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Windows.Forms;

using HRM;
using System.Diagnostics;

namespace TORO_ERP
{
    public partial class MainERPForm : Form
    {
        private const string HRMModule = "C:\\Users\\thinh_000\\Desktop\\toro-extreme-project\\TORO.ERP\\HRM\\HRM\\bin\\Debug\\HRM.exe";

        public MainERPForm()
        {
            InitializeComponent();
            this.ShowInTaskbar = true;
        }

        private void btnClose_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void btnMinimize_Click(object sender, EventArgs e)
        {
            this.MinimizeBox = true;
        }

        private void MainERPForm_Load(object sender, EventArgs e)
        {

        }

        private void tileHRMModule_ItemDoubleClick(object sender, DevExpress.XtraEditors.TileItemEventArgs e)
        {
            Process.Start(HRMModule);
        }
    }
}